<div class="citizen-info">
	{% load asp_url %}
	<p><strong>ФИО:</strong> {{ citizen.last_name }} {{ citizen.first_name }} {{ citizen.patronymic }}</p>
	<p><strong>Адрес:</strong>
		{% if citizen.address %}
			{{ citizen.address }}
		{% else %}
			<span class="attention"><a href="{% asp_url %}/ASPnetKP/Common/EditBaseInfo2.aspx?Id={{ citizen.id }}" target="_blank">Укажите</a> адрес регистрации граждан{% if citizen.gender == 'M' %}ина{% else %}ки{% endif %}!</span>
		{% endif %}
	</p>
	<p><strong>Паспорт:</strong> 
		{% if citizen.passport and citizen.passport_vydan %}
			{{ citizen.passport }}; выдан {{ citizen.passport_vydan }}
		{% else %}
			<span class="attention"><a href="{% asp_url %}/ASPnetKP/Common/EditBaseInfo2.aspx?Id={{ citizen.id }}" target="_blank">Заполните</a> паспотрые данные граждан{% if citizen.gender == 'M' %}ина{% else %}ки{% endif %}!</span>
		{% endif %}
	</p>
	<p><strong>Признаки учета:</strong>
		{% if citizen.categories.all %}
			<ul>
			{% for cat in citizen.categories.all %}
				<li>{{ cat }}</li>
			{% endfor %}
			</ul>
		{% else %}
			Не указаны
		{% endif %}
	</p>
	<p><strong>ПКУ:</strong> <a href="{% asp_url %}/ASPnetKP/Common/EditBaseInfo2.aspx?Id={{ citizen.id }}" target="_blank">{{ citizen.spku }}</a></p>
</div>